package IO;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class Demo16 {
    public static void main(String[] args) {
        try(Writer writer = new FileWriter("test.txt",true)){
            writer.write("你好 Jimmy-Linx");
        }catch(IOException e){
            e.printStackTrace();
        }
    }
}
